<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}{% endblock %}</title>
    <link rel="stylesheet" href="{% static 'css/base/front_base.css' %}">
    <link rel="stylesheet" href="{% static 'css/news/news.css' %}">
    <link rel="stylesheet" href="{% static 'css/base/side.css' %}">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_710851_jbvle5jeeq.css">
{#    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>#}
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
    <script src="{% static 'js/xfzajax.js' %}"></script>
    <script src="{% static 'js/message.js' %}"></script>
    {% block head %}{% endblock %}
</head>
<body>
    <!-- 导航部分 -->
    <header class="header">
        <nav class="nav">
            <div class="logo-box">
                <a href="{% url 'news:index' %}"></a>
            </div>
            <ul class="menu">
                <li class="active"><a href="#">创投咨询</a></li>
                <li><a href="#">创业课堂</a></li>
                <li><a href="#">咨询</a></li>
                <li><a href="#">搜索</a></li>
            </ul>
            <div class="auth-group">
                <span class="user-icon icon-caidan07 iconfont"></span>
                {% if user.is_authenticated %}
                    <a href="javascript:void(0);">{{ user.username }}</a>
                    <div class="user-more-box">
                        <i class="triangle"></i>
                        {% if user.is_staff %}
                            <a href="{% url 'cms:index' %}">管理系统</a>
                        {% endif %}
                        <a href="{% url 'xfzauth:logout' %}">退出登陆</a>
                    </div>
                {% else %}
                    <a href="{% url 'xfzauth:login' %}">登陆 /</a>
                    <a href="{% url 'xfzauth:register' %}">注册</a>
                {% endif %}
            </div>
        </nav>
    </header>

    <!-- 中间部分 -->
    {% block main %}{% endblock %}
    <!-- 页脚部分 -->
    <footer class="footer">
        <div class="footer-1">
            <div class="footer-inner">
                <div class="logo-box"></div>
                <div class="detail-info-group">
                    <div class="top-group">
                        <ul class="links">
                            <li><a href="#">关于小饭桌</a></li>
                            <li><a href="#">创业课堂</a></li>
                            <li><a href="#">寻求报道</a></li>
                            <li><a href="#">创业礼包</a></li>
                        </ul>
                        <div class="about-us">
                            <span>关于我们:</span>
                            <span class="weixin">xfz008</span>
                            <span class="weibo">小饭桌创业课堂</span>
                        </div>
                    </div>
                    <div class="bottom-group">
                        <p class="address">地址：北京市朝阳区东三环北路38号院泰康金融大厦</p>
                        <p class="contact">客服电话： 400-810-1090 (工作日10点－18点)</p>
                    </div>
                </div>
            </div>

        </div>
        <div class="footer-2">
            ©2018 北京子木投资顾问有限公司 京ICP备15051289号-1 | 增值电信业务经营许可证：京B2-20170574
        </div>
    </footer>
</body>
</html>